package com.example.collegevice.service;

import com.example.pojo.Choice;
import com.example.pojo.Course;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ChoiceService {
    void add(Course course);

    PageInfo<Choice> selectPage(Choice choice, Integer pageNum, Integer pageSize);

    void updateById(Choice choice);

    void deleteById(Integer id);

    List<Choice> selectAll();
    List<Choice> reChoice(List<Choice> choiceList);


}
